package dev.entao.page.bs

import dev.entao.core.HttpContext
import dev.entao.core.uri
import dev.entao.html.HtmlPage
import dev.entao.html.linkCSS
import dev.entao.html.meta
import dev.entao.html.scriptFile

open class BootPage(context: HttpContext) : HtmlPage(context) {
    init {
        html["language"] = "en"
        head {
            meta {
                charset = "UTF-8"
            }
            meta {
                name = "viewport"
                content = "width=device-width, initial-scale=1"

            }
            linkCSS("assets/bootstrap.css".uri)
            linkCSS("assets/dashboard.css".uri)
            linkCSS("assets/client.css".uri)
        }
        body {
            scriptFile("assets/bootstrap.bundle.min.js".uri)
            scriptFile("assets/jquery36.js".uri)
            scriptFile("assets/basic.js".uri)
            scriptFile("assets/client.js".uri)
        }
    }
}